package com.hdc.lw.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Response<T> {
    // 公用返回码
    public static final Integer COMMON_SUCCESS = 200;
    public static final Integer COMMON_FAIL = 400;
    public static final Integer COMMON_EXIST = 401;

    private Integer code = 200;
    private String msg = "";
    private T data = null;
}
